Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Content in SecondaryWindow #2571

Merged
merged 6 commits into from
Apr 10, 2024

Conversation

dhoehna
Copy link
Contributor

@dhoehna dhoehna commented Apr 9, 2024

Summary of the pull request

SecondaryWindow was using assigning _windowTemplate to WindowContent. WindowContent has IsTabStop set to True and this was causing the phantom tab stop.

The fix is to assign _windowTemplate to Content instead.

Using Content is okay in this instance because DevHome has our own custom title bar and content.

References and relevant issues

Task

Detailed description of the pull request / Additional comments

Validation steps performed

Manually tested

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

Copy link
Collaborator

@krschau krschau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't think end up with a bogus tab stop somewhere, and something that shoud be a tab stop that isn't? I worry that would get read incorrectly in a more-verbose-than-default Narrator mode.

tools/SetupFlow/DevHome.SetupFlow/Views/DevDriveView.xaml Outdated Show resolved Hide resolved
@vineeththomasalex
Copy link
Contributor

How does this behave with Narrator?

@dhoehna
Copy link
Contributor Author

dhoehna commented Apr 10, 2024

How does this behave with Narrator?

With the one line fix (compared to the multi line fix) nothing. narrator works as expected. So does the tabbing order.

@dhoehna dhoehna changed the title Removing the first item in the dev drive window from tab stop Using Content in SecondaryWindow Apr 10, 2024
@krschau krschau added the Needs-Second Pull request that needs another approval label Apr 10, 2024
@dhoehna dhoehna merged commit 05ddcd8 into main Apr 10, 2024
4 checks passed
@krschau krschau removed the Needs-Second Pull request that needs another approval label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants